Your suggested change has been received. Thank you.

close

Suggest A Change

https://thales.na.market.dpondemand.io/docs/dpod/services/kmo….

back

User Provisioning through Identity Management Framework

Using CSV as Identity Source

search

Using CSV as Identity Source

Using CSV as Identity Source

Identity Management (IdM) Framework extends its support for identity conenctors with the introduction of CSV connector solution. It provides the ability to synchronize users from CSV to SafeNet Trusted Access (STA) using custom connectors.

It is preconfigured with XML files. This eliminates the need for manual configuration of connectors, roles and templates for user synchronization. However, the configuration can always be modified as required.

The following diagram displays the connection between the CSV connector and STA:

alt_text

This documentation provides detailed instructions on configuring CSV and SafeNet Trusted Access IdM Connector to creata a uni-directional synchronization setup.

For two-way communication and data synchronization, refer to the Bi-directional Synchronization section.

Supported Use Cases

The CSV connector supports the following use cases:

Use Case Description
User Synchronization Supports all the Create, Read, Update, and Delete (CRUD) operations.
Live Synchronization Detects and synchronizes the changes in the target system in near real time. Applicable for users only.
Bi-directional Synchronization Support Supports two-way communication between CSV & STA.

Prerequisites

As prerequisites,

Configure SafeNet Trusted Access IdM Connector in IdM Framework

To configure the SafeNet Trusted Access IdM Connector in the Identity Management Framework, refer to SafeNet Trusted Access IdM Connector Configuration documentation.

Add the CSV File

Copy the CSV file and paste it in the /opt-directory on your Ubuntu virtual machine to import the user data onto the connector.

It is recommended to create a backup of your CSV file.
In the absence of the file from the mentioned location, the connector will stop working.

Import Connector XML File in IdM Framework

The CSV connector XML file provides the basic configuration for initial setup of the connector. Perform the following steps:

  1. Click here to download the CSV.xml file and then save the file on your local machine.
  2. Log in to the Identity Management Framework console as an administrator.
  3. On the administrator console, in the left pane, scroll down, click Import object. Perform the following steps to set up the connector XML file:

    1. Under Options, select the Keep OID checkbox.

    2. In the Get objects from field, ensure that the File option is selected.

    3. Click Choose File to upload the CSV.xml file.

    4. Click Import object.

      Ignore Validation warnings if any found.

    alt_text

  4. In the left pane, click Resources > All resources. The CSV resource is displayed in the right pane.

    alt_text

Import Template XML File in IdM Framework

The template XML files enable you to sync users to STA. Perform the following steps:

  1. From here, download the following template XML files and save them on your local machine.

    • UserTemplate_for_CSV.xml: Contains the mappings that are used to assign a role (STA user role) to users imported from CSV.

    • STA_user_role.xml: Used to create a role in Identity Management Framework. The role is used to create a user(s) in STA automatically.

  2. Perform the following steps to import the XML files that you downloaded in the previous step:

    1. On the Identity Management Framework administrator console, in the left pane, scroll down, and click Import object.

    2. Under Import object, in the right pane, under Options, select the Keep OID checkbox.

    3. Under Get objects from, ensure that the File option is selected.

    4. Click Choose File to upload an XML file

      alt_text

    5. Click Import object.

  3. Repeat step 2 to upload rest of the template XML files.

Configure CSV Connector in Identity Management Framework

Perform the following steps to configure a working CSV Connector:

  1. On the IdM Framework administrator console, in the left pane, click Resources> All resources.

  2. In the right pane, under All resources, click the CSV resource that you have created as a prerequisite.

    alt_text

  3. On the CSV resource window, scroll down, and perform the following steps:

    1. In the left pane, click Basic. In the right pane, perform the following steps to configure the resource:

      1. In the Name field, modify the name of the resource as per your preferred configuration (for example, CSV Connector). This is for identification purpose only.
      2. [Optional] In the Description field, add a description of the resource.
      3. In the connectorRef field, ensure that the CSV connector is selected (for example, ConnId com.evolveum.polygon.connector.csv.CsvConnector v2.7).

      alt_text

    2. In the left pane, click Connector configuration. In the right pane, perform the following steps to modify the fields' values as per your CSV configuration:

      1. In the Multivalue delimiter field, ensure that ; is entered.
      2. In the Field delimiter field, ensure that , is entered.
      3. In the File path field, replace the field value with the location of the CSV file (for example, /opt/example.csv) that you added earlier as a prerequisite.
      4. In the Encoding field, ensure that utf-8 is entered.
      5. In the Unique attribute name field, ensure that username is entered.
      6. Click Save.

      alt_text

    3. On the All resources window, click on the CSV connector. Under Resource operations, click Test connection to verify the configuration, and then click OK.

      alt_text

      If you face any error while testing the conneciton, check your CSV connector configuration.

    4. In the left pane, click Schema handling. Schema handling contains attribute mapping for users for synchronization.

      The default set values are case sensitive.

      You can configure Schema handling for,

      Accounts

      Perform the following steps to view or edit attributes mapping for users:

      1. In the right pane, in the Display name column, click Account.

        alt_text

      2. On the Object type wizard window, select the Mappings tile.

        alt_text

      3. Click the Inbound mappings (to MidPoint) tab. The users' attribute mapping is displayed. Ensure that mapping is done for all the attributes as shown in the screenshot below.

        alt_text

        You can edit an attribute mapping as per your preferred configuration. For more detial,refer to the Add or Modify an Attribute Mapping section.

      4. Click Exit wizard, else click Save mappings to save the changes, if any.

      5. On the Object type wizard window, select the Synchronization tile.

        alt_text

      6. The Synchronization window is displayed. The synchronization properties (configuration) of a resource object (user). It specifies the information regarding the Identity Management Framework action when a new synchronization event is detected. For example, when an event related to the account creation or deletion is detected, the Identity Management Framework action can be to create a new user, delete or disable existing user, to ignore the event, etc.

        On the Synchronization window, ensure that all the values are set, and then click Exit wizard.

        alt_text

      7. On the Object type wizard, click Back to object types link to exit from the window.

        alt_text

Add or Modify an Attribute Mapping

Perform the following steps to add or modify an attribute mapping:

  1. In the right pane, in the Display name column, click Account.

    alt_text

  2. On the Object type wizard window, select the Mappings tile.

    alt_text

  3. Click the Inbound mappings (to MidPoint) tab. The users' attribute mapping is displayed.

  4. Next to Lifecycle state, click alt_text to edit an attribute or to add a new attribute.

    alt_text

  5. The Main configuration window is displayed. Perform the following steps:

    1. In the From resource attribute field, select an attribute.
    2. In the Target field, enter a name for the IdM attribute (for example, givenName) that you want to map with the name attribute of STA.

    alt_text

Create Tasks

Tasks are created in Identity Management Framework to automatically synchronize users at a specific time. You can create the following tasks in IdM Framework:

Import Tasks

Perform the following steps to create an import task to synchronize users:

  1. On the IdM Framework administrator console, in the left pane, click Server tasks > Import tasks.

  2. Under Import tasks, in the right pane, click on the New import task alt_text icon to add a new task.

    alt_text

  3. On the New Import task window, in the right pane, under Resource objects, perform the following steps:

    1. In the Resource field, click Edit, and select your CSV connector (for example, CSV: Resource Type).
    2. In the Kind field, select Account.
    3. In the Intent field, select default.
    4. In the Object class field, select AccountObjectClass.

      alt_text

  4. Click Save to create the task.

    alt_text

Live Synchronization Tasks

A live synchronization task is created for users. This task processes the events (creation, modification, or deletion) that represent the changes related to the resource objects. It ensures that these events are processed, so that the resource objects' changes are reflected on Identity Management Framework objects (and extended to other resources, if needed).

Perform the following steps to create a live synchronization Task for users:

  1. In the left pane, scroll down, click Server tasks > Live synchronization tasks.

  2. Under Live synchronization tasks, in the right pane, click on the New live synchronization task alt_text icon to add a new task.

    alt_text

  3. On the New Live synchronization task window, perform the following steps:

    1. Under Resource objects, perform the following steps:

      1. In the Resource field, click Edit, and select your CSV connector (for example, CSV: Resource Type).
      2. In the Kind field, select Account.
      3. In the Intent field, select default.
      4. In the Object class field, select AccountObjectClass.

      alt_text

    2. In the left pane, click Schedule. In the right pane, in the Interval field, enter the value of the interval in seconds (for example, 1200).

      alt_text

      Interval is the time period after which the task will be automatically repeated until all the records are synchronized.

  4. Under Operations, click Save.

    alt_text

Reconciliation Tasks

A Reconciliation task is created to compare the data stored in the IGA platform with the data stored in the target systems.

Perform the following steps to create a reconciliation task for users:

  1. On the IdM Framework administrator console, in the left pane, click Server tasks > Reconciliation tasks.

  2. Under Reconciliation tasks, in the right pane, click on the New reconciliation task alt_text icon to add a new task.

    alt_text

  3. On the New Reconciliation task window, perform the following steps:

    1. In the right pane, under Resource objects, perform the following steps:

      1. In the Resource field, click Edit, and select your CSV connector (for example, CSV: Resource Type).
      2. In the Kind field, select Account.
      3. In the Intent field, select default.
      4. In the Object class field, select AccountObjectClass.

      alt_text

    2. In the left pane, click Schedule. In the right pane, in the Interval field, enter the value of interval in seconds (for example, 86400).

      alt_text

      Interval is the time period after which the task will be automatically repeated until the data of all the users is reconciled.

  4. Under Operations, click Save.

    alt_text

Run the Solution

Duplicate users cannot be synced to STA using the Identity Management Framework.

Perform the following steps to run the import task to synchronize users:

  1. On the administrator console, in the left pane, scroll down and click Server tasks > Import tasks.

  2. Under Import tasks, in the right pane, click the Import task: CSV: Account task for users that you created earlier under Create Tasks.

    alt_text

  3. On the Import task window, click Save and Run to execute the task.

    alt_text

    Similarly, you can run all other tasks like Live Synchronization Task and Reconciliation Task using the above-mentioned steps.

Verify Users in STA

Perform the following steps to verify if the users are successfully synced to STA:

  1. On the STA Management console, click the Assignment tab.

    alt_text

  2. In the Search User module, you can search for users that are pushed from CSV to STA. Alternatively, you can search for individual users to verify if the user is synchronized to STA.